public class EnumSimpleUse {
    public enum Spiciness {
        NOT, MILD, MEDIUM, HOT, FLAMING;
    }

    public static void main(String[] args) {
        Spiciness howHot = Spiciness.MEDIUM;
        System.out.println(howHot);

        // order
        for (Spiciness s : Spiciness.values()) {
            System.out.println(s + ", ordinal " + s.ordinal());
        }
    }
}
